﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AliIotAmqpWorker
{
    /// <summary>
    /// 属性值
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PropertyValue<T>
    {
        /// <summary>
        /// 值
        /// </summary>
        public T value { set; get; }
        /// <summary>
        /// 时间
        /// </summary>
        public long time { set; get; }
    }
    /// <summary>
    /// checkFailedData类别子项明细
    /// </summary>
    public class checkFailedDataItem
    {
        //public checkFailedDataItemProperty WaterPump1boot { set; get; }
        //public checkFailedDataItemProperty WETotal { set; get; }
        //public checkFailedDataItemProperty WC { set; get; }
        //public checkFailedDataItemProperty MotorDown { set; get; }
        //public checkFailedDataItemProperty Pump1localremote { set; get; }
        //public checkFailedDataItemProperty SC { set; get; }
        //public checkFailedDataItemProperty Pump1Alarm { set; get; }
        //public checkFailedDataItemProperty MotorUp { set; get; }
        //public checkFailedDataItemProperty BV { set; get; }
        //public checkFailedDataItemProperty SDE { set; get; }
        //public checkFailedDataItemProperty DUE { set; get; }
        //public checkFailedDataItemProperty UETotal { set; get; }
        //public checkFailedDataItemProperty Pump2Run { set; get; }
        //public checkFailedDataItemProperty WP { set; get; }
        //public checkFailedDataItemProperty WRS { set; get; }
        //public checkFailedDataItemProperty WDE { set; get; }
        //public checkFailedDataItemProperty SP { set; get; }
        //public checkFailedDataItemProperty WV { set; get; }
        //public checkFailedDataItemProperty EHTotal { set; get; }//
        //public checkFailedDataItemProperty Pump2LocalRemote { set; get; }
        //public checkFailedDataItemProperty SV { set; get; }
        //public checkFailedDataItemProperty SETotal { set; get; }
        //public checkFailedDataItemProperty WaterLevel { set; get; }
        //public checkFailedDataItemProperty Pump2Alarm { set; get; }
        //public checkFailedDataItemProperty DETotal { set; get; }
        //public checkFailedDataItemProperty Pump1Run { set; get; }
        //public checkFailedDataItemProperty WaterPump2Run { set; get; }

        public checkFailedDataItemProperty MotorUp { set; get; }
        public checkFailedDataItemProperty MotorDown { set; get; }
    }
    /// <summary>
    /// checkFailedData类别子项明细
    /// </summary>
    public class checkFailedDataItemProperty
    {
        public int code { set; get; }
        public string message { set; get; }
        public long time { set; get; }
        public LongTimeValue value { set; get; }
    }

    public class LongTimeValue
    {
        /// <summary>
        /// 值
        /// </summary>
        public double value { set; get; }
        /// <summary>
        /// 时间
        /// </summary>
        public long time { set; get; }
    }
}
